package btb.net;

public abstract class ANetDossier
{
	protected abstract class NANetProfile
	{
		public static final String DEFAULT_HEADING = "<undefined ANetDossier object>";
		
		protected String heading;
		protected ANetDossier owner;
		
		public NANetProfile()
		{
			heading = DEFAULT_HEADING;
			owner = null;
		}
		
		public NANetProfile(ANetDossier _owner, String _heading)
		{
			owner = _owner;
			heading = _heading;
		}
		
		public void setOwner(ANetDossier _owner){owner = _owner;}
		public ANetDossier getOwner(){return owner;}
		
		public void setHeading(String _heading){heading = _heading;}
		
		@Override
		public String toString()
		{
			return heading;
		}
	}
	
	public ANetDossier(){}
	
	public abstract void setProfile(NANetProfile _profile);
	public abstract NANetProfile getProfile();
}
